package com.radiation.rms.service;

import com.radiation.rms.common.R;
import com.radiation.rms.entity.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.radiation.rms.vo.AddressMapVo;
import com.radiation.rms.vo.ConditionVo;

import java.util.List;

/**
 * <p>
 * 地点表 服务类
 * </p>
 *
 * @author 1062
 * @since 2021-04-02
 */
public interface AreaService extends IService<Area> {

    void batchSave(List<AddressMapVo> addressMapVos, String parentId);

    R getAreaTree();

    R getInitArea();

    String getPath(String areaId);

    R saveArea(Area area);

    R removeBid(String areaId);

    List<String> getOneDepartment(String areaId);

    List<String> getTwoDepartment(String areaId);

    List<String> getThreeDepartment(String areaId);

    List<String> getParent(String areaId);

    List<ConditionVo> getConditionStatus(String hospitalId);

    R initHospital();

    List<String> getHospitalId(List<String> departmentIds);

}
